<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        /*
            相等 == 
            赋值 =
        */
        // alert(1 == 2);
        // alert('1' == 1);
        // alert(true == 1 );

        var a = {x:10};
        // var b = {x:10};
        var b = a; //赋址
        // alert(a == b)


        // alert(null === undefined);
        // alert(null == undefined)
        /*
            全等首先必须类型一致，其次值必须一致，才会返回true，否则返回false
        */
    </script>
</body>
</html>